package com.pzhu.model.help;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author zengqiuhu
 * @date 2023/9/18 23:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QRInfo {

    private Long id;

    private String code;

    private BigDecimal rate;

    private Integer count;
    //总价格
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal totalAmount;

    //姓名
    private String username;

    //电话
    private String phone;
    //地址信息
    private String address;
    //面积
    private Integer area;
}
